<!DOCTYPE html>
<html>
<head>
    <title></title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <Row :gutter="16">
            <i-col span="4">
                <i-input v-model="q.name" @on-enter="query" placeholder="名称"/>
            </i-col>
            <i-button @click="query">查询</i-button>
            #if($shiro.hasPermission("sharebill:update"))
            <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;查看详情</i-button>
            #end
        </Row>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="apiShareBill" :rules="ruleValidate" :label-width="80">
            <Form-item label="创建时间" prop="createTimeView">
                <i-input v-model="apiShareBill.createTimeView" placeholder="创建时间"/>
            </Form-item>
            <Form-item label="访问ip" prop="ip">
                <i-input v-model="apiShareBill.ip" placeholder="访问ip"/>
            </Form-item>
            <!--<Form-item label="ip地址" prop="ipAddress">-->
                <!--<i-input v-model="apiShareBill.ipAddress" placeholder="ip地址"/>-->
            <!--</Form-item>-->
            <!--<Form-item label="下载时间" prop="createTimeDown">-->
                <!--<i-input v-model="apiShareBill.createTimeDown" placeholder="下载时间"/>-->
            <!--</Form-item>-->
            <Form-item label="浏览器代号" prop="appCodeName">
                <i-input v-model="apiShareBill.appCodeName" type="textarea" placeholder="浏览器代号"/>
            </Form-item>
            <Form-item label="硬件平台" prop="platform">
                <i-input v-model="apiShareBill.platform" placeholder="硬件平台"/>
            </Form-item>
            <Form-item label="浏览器" prop="browser">
                <i-input v-model="apiShareBill.browser" placeholder="浏览器"/>
            </Form-item>
            <!--<Form-item label="访客屏幕" prop="screen">-->
                <!--<i-input v-model="apiShareBill.screen" placeholder="访客屏幕"/>-->
            <!--</Form-item>-->
            <Form-item label="渠道" prop="channelName">
                <i-input v-model="apiShareBill.channelName" placeholder="渠道"/>
            </Form-item>
            <Form-item>

                <i-button type="warning" @click="reload" style="margin-left: 8px"/>
                返回</i-button>

            </Form-item>
        </i-form>
    </Card>
</div>

<script src="${rc.contextPath}/js/share/sharebill.js?_${date.systemTime}"></script>
</body>
</html>